Increase device timeout to 10 seconds, as restarting a DHCP server takes a few
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 29 Nov 2005 15:00:01 +0000 (15:00 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 29 Nov 2005 15:00:01 +0000 (15:00 +0000)
seconds, so we need to allow for that.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/server/DevController.py

index 1ef7cb476a16b01cc88a45d92e0747a82148e7be..fc93b750b77480bfd7c94d1698db72f8e96bd505 100644 (file)
@@ -25,7 +25,7 @@ from xen.xend.XendLogging import log
 from xen.xend.xenstore.xstransact import xstransact
 from xen.xend.xenstore.xswatch import xswatch
 
-DEVICE_CREATE_TIMEOUT = 5
+DEVICE_CREATE_TIMEOUT = 10
 HOTPLUG_STATUS_NODE = "hotplug-status"
 HOTPLUG_ERROR_NODE  = "hotplug-error"
 HOTPLUG_STATUS_ERROR = "error"